
Visual Basic (Declaration) | |
---|---|
Public Class FrameworkBootstrapper(Of TRootModel) Inherits FrameworkBootstrapper |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As FrameworkBootstrapper(Of TRootModel) |
C# | |
---|---|
public class FrameworkBootstrapper<TRootModel> : FrameworkBootstrapper |
C++/CLI | |
---|---|
generic<typename TRootModel> public ref class FrameworkBootstrapper : public FrameworkBootstrapper |
- TRootModel
- The ViewModel for the main screen.
Demonstrates how to create a Bootstrapper for a Development Harness
C# | ![]() |
---|---|
public class AppBootstrapper : FrameworkBootstrapper<HarnessViewModel> { // Add additional logic if required. } |
Demonstrates how to add the Bootstrapper as a static resource to trigger the bootstrapping of the application.
XAML | ![]() |
---|---|
<Application x:Class="SampleApplication.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:app="clr-namespace:SampleApplication;assembly=SampleApplication.Harness.SL"> <Application.Resources> <app:AppBootstrapper x:Key="Bootstrapper" /> </Application.Resources> </Application> |
System.Object
Caliburn.Micro.Bootstrapper
Caliburn.Micro.Extensions.FrameworkBootstrapper
Caliburn.Micro.Extensions.FrameworkBootstrapper<TRootModel>
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family